<%--
  Created by IntelliJ IDEA.
  User: win
  Date: 2020/10/17
  Time: 15:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录系统</title>
</head>
<body style="padding: 50px">
<form action="login" method="post">
    用户名：<br>
    <input type="text" name="userName"><br>
    密&nbsp;&nbsp;&nbsp;&nbsp;码：<br>
    <input type="password" name="password"><br>
    <span style="color: red"><%= request.getAttribute("error")==null ? "" : request.getAttribute("error") %></span><br>
    <input type="submit" value="登录">
</form>
</body>
</html>
